package com.wht.mapper;

import com.wht.domain.Music;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author wanghaotian
 * time:2022/11/22,0022 21:11
 * description:
 */

public interface MusicMapper {
    List<Music> selectAllMusic();
    void insertMusic(Music music);

    int deleteMusic(Integer mid);

    Music selectOneMusic(Integer mid);

    int updateMusic(Music music);
}
